package com.cxm.weilai.service;

import com.alibaba.fastjson.JSONObject;
import com.cxm.weilai.entity.User;

/**
 * @program: weilai-cloud
 * @description: 登陆
 * @author: ChenMan
 * @create: 2019-03-28 13:48
 */

public interface ILoginService {
    User findByName(Long id);

    /**
     * @param user
     * @return
     */
    JSONObject regist(User user);
}
